package com.aysafety.eventmodel.service.hydraulicSupport;

import java.util.Map;

/**
 * @program: iotDataPlatform
 * @description: 液压支架
 * @author: ChengQi
 * @create: 2019-02-20 19:59
 **/
public interface HydraulicSupportService {

    /**
    * @Description:频次
    * @Param: [currentTime] 
    * @return: void 
    * @Author: ChengQi 
    * @Date: 2019/3/1 
    */
    void countFrequency(String currentTime) throws Exception;

    /** 
    * @Description: 闪烁
    * @Param: [startTime] 
    * @return: void 
    * @Author: ChengQi 
    * @Date: 2019/3/5 
    */ 
    void countFlicker(String startTime) throws Exception;


    /**
     * 闪烁间隔危险度
     * @throws Exception
     */
    Map<String, Map<String, Long>> flickerIntervalRisk(Map<String, Map<String, Long>> lastStrMap, String currentTime) throws Exception;

    /**
     * 闪烁间隔危险度实时
     * @param currentTime
     * @throws Exception
     */
    void flickerIntervalRiskRealTime(String currentTime) throws Exception;


    /**
     * @Description: 计算实时综合预警的w
     * @Param: [currentTime]
     * @return: void
     * @Author: ChengQi
     * @Date: 2019/3/18
     */
    void warning(String currentTime) throws Exception;


    /**
     * 液压支架综合预警v2
     * @param currentTime
     * @throws Exception
     */
    //void warningV2(String currentTime) throws Exception;
}
